package JXY01;

public class Bigplane extends FlyingObject implements Award,Enemy{
    private int awardType;
    public Bigplane(){
        image = Aircraft_Battle.bigplane;
        width = image.getWidth();
        height = image.getHeight();
        x = (int)(Math.random() * 400);
        y = -height;
        speed = 3;
        awardType = (int)(Math.random() * 2);
    }
    public void move(){
        y += speed;

    }

    @Override
    public int getType() {
        return awardType;
    }

    @Override
    public int getScore() {
        return 10;
    }
}
